<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="fragments/easyui_insdep_head :: easyui_insdep_head" th:with="title='出货记录项'">
</head>

<body>

<input type="hidden" id="queryid" th:value="${param.exportrecordid == null ? '' : param.exportrecordid[0]}" />

<table id="tt" class="easyui-datagrid" style="width:100%;height:100%"
       pageList='[1,10,20,30,50]' singleSelect="true"
       rownumbers="true">
    <thead>
    <tr>
        <th field="warename" width="300" >商品名称</th>
        <th field="exportchannelname" width="100" >渠道</th>
        <th field="warehousename" width="100" >仓库</th>
        <th field="exportitemnum" width="80" >数量</th>
        <th field="exportitemprice" width="80">总价</th>
    </tr>
    </thead>
    <script type="text/javascript">
        //<![CDATA[
        $("#tt").datagrid({
            queryParams: {
                exportrecordid : $("#queryid").val()
            },
            url: "/export/getExportItems",
        });
        //]]>
    </script>



</table>



</body>
</html>